/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tema2_ejemplos;

/**
 *
 * @author isabel
 */
public class intercambio {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        int a=9;
        int b=12;
        int aux;
            System.out.println("Valor de a: "+a+" valor de b "+b);
            aux=a;
            a=b;
            b=aux;
            System.out.println("Valor de a: "+a+" valor de b "+b);
    }
}
